Move mismatch of Range#cover? and Range#include? out of shared folder #1053
+8
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is based on an observation made by @richardboehme in the Natalie project, split over these two commits:
natalie-lang/natalie@a263a4d#diff-269d1f98177fca45189f918bb4282631ff1dcaaac8f1d793c3fea82b3034b73f
natalie-lang/natalie@00ccd22
It turns out
cover?
andinclude?
do not behave the same for this query, so I moved this one out of the shared folder and into the two separate specs.I had to guess what the spec was actually testing, so the descriptions for the test are probably up for improvement.